package com.hnevc.liangxiangju;

/**
 *
 *
 * System类的使用
 * currentimeMillis() 获取当前系统的时间戳
 * arrayCopy()拷贝数组
 *
 */
public class Example01 {
//获取当前系统时间戳
public static void main(String[] args) {
        long nowTime =System.currentTimeMillis();
        System.out.println(nowTime);
    int[] fromArray ={1,3,9,7,5,4,0,8};
    int[] toArray ={100,101,99,52,12,190};
System.arraycopy(fromArray,3,toArray,4,5);

    for (int i=0;i<toArray.length;i++){
        System.out.println(toArray[i]);
    }
        }
}






